[Issue #312] converted all built-in alert/confirm dialogs into our customized one