onClose and redirectOnClose are mutually exclusive
Merge pull request #2469 from yakky/feature/fix_reload_close

onClose and redirectOnClose are mutually exclusive