move modal out of the moviesController