close window with "ok"
save changes and close, return "false", if not possible
if true, the system lost the window instance, because the window is closed
- if sbo - form: return true without any actions
- check "sysnoupdate". If true, return true without any actions
- check, if window in update/add mode. If not, it return true without any actions
- check command stack
- execute window.update, if current data not saved
- change update/add mode to "ok" mode
window.close();