Fix #3: show dialog when closing application

and Add TaskDialog library
Adjust display of dialog when document has been modified
Fix dialog

and close StartPage on Open/New command executed