jasmine.Desktop cancelViewsMenu close tabs when one tab has invalid unsaved changes (from jasmine.specs)