remove almost all magic numbers from the Linux and Windows MessageDialog modules