Removed popup and quit application after succesful export