Fix close window behaviour on Macos
Fix close window behaviour on Macos

vector-im/vector-web,vector-im/vector-web,vector-im/riot-web,vector-im/riot-web,vector-im/vector-web,vector-im/riot-web,vector-im/vector-web,vector-im/vector-web,vector-im/riot-web,vector-im/riot-web,vector-im/riot-web