refactor nextTransition clearing to work more reliably with closing modals - always clear the value after a successful transition CLUB-643