Confirm exit in SCC

* added "do you want to close the application?" dialog in SCC.