I was trying to implement that way, but instead I decided to let people open a note in a separate window (Double click a note on the side bar) so there won't be another button in the typing area.