undo 'fix' for cancelOnHide