pulled modal into its own controller