Fixed how new note panel is handled on closing.