Removes interrupting dialog while sending messages + notification fix

Fixes bug where notification was not displayed when chat was open with a
different contact.