Made NoteDialog maximized on exec().