jasmine.Desktop cancelViewsMenu close tabs when one tab has an open modal dialog without unsaved changes (from jasmine.specs)