separate modal popout into its own file