close modals and scroll to top in player