network: fix close and hide action