The Add Note dialog now correctly moves with the mainwindow
The Add Note dialog now closes when the mainwindow gets minimized/closed