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. It is needed I think.