Add send_on_return callback to closing a modal.

When building my iPhone app using ProMotion, I've found it rather confusing as to why modals won't make a callback. Maybe it's designed like that, I'm not sure, but I think it is a useful thing to add.