various updates to ensure sending and warn about
navigating away from page while sending