MOBILE-3914 utils: Close modal before navigating
MOBILE-3914 utils: Close modal before navigating

reskit/moodlemobile,reskit/moodlemobile,reskit/moodlemobile,reskit/moodlemobile,reskit/moodlemobile,reskit/moodlemobile