Added d-connection-alert and d-before-unload