GUI1

Added warning msg for closing the window