[qtmozembed] Add OnWindowCloseRequested handler

windowCloseRequested is emitted when close is requested.