Turned the note creation page into a dialog