fixed some dialog box errors, close microscopy note on close button