hooking things up with the modal view