Add modality configuration option for reconnect dialog (#11733)
Leave the request state as open until reconnect is done and the message has
been delivered. This avoids flushing the rpc queue during reconnect, which
would cause two concurrent requests.
Change-Id: I320ffccd49c26acd16bd70b34ba28b465d17842c
* Add grace period for showing the reconnect dialog
* Try to reconnect once immediately
* Stop reconnecting when application is stopped
* Make it possible and easy to replace the reconnect dialog
Change-Id: I6695e7473859827db9dd64cbd373696aeb5d27a5