cancel button on save prompt now cancels close
closing the window with the X button still cleans