Close window by sending message instead of close by itself