Ask the user to reload the app if codeserver was down

This is useful when debuging in devices without
reload button like webview in mobile.

Avoid showing the confirm dialog twice in multimodule
pages.

Change-Id: Ia0ee22d9880bff0223b3399adcf9e02d7e8ac797