return false to prevent modal instant closing