add 'lost connection' dialog to frontend