set handler for closing of app (it must return true to allow immediate close, false to cancel close or close window later)
See Implementation
set handler for closing of app (it must return true to allow immediate close, false to cancel close or close window later)