Revert "removed annoying popup and restore connection stack on quit"

This reverts commit caadfef3b713fc5ca66420e3c2852545a0b51906.