Move ModalInstanceCtrl to its own file