Don't trigger close event after modal.close