Alter modal transition timing for some weird bug in Chrome where displays duplicate modals on exit.