Update directive to show modal on admin page redirect