Added Pending changes message when closing main window