fix loading mask can not hide when canceled file dialog in node-webkit