fix(intent): close modal on route change
fix(media): make select btn work with hidden input