hide loading dialog in case of some load-ready events got lost.