So there isn't a way to pass the directive a callback to the main controller which sets the modal stuff? I haven't tried it but I don't see why it wouldn't work