When you open wallets with exotic names, i.e `🦹🏿‍♂️` (Emoji Version 11), via the "Open Wallet" menu, the opening wallet dialog never closes, even after the wallet has finished loading.

![screen shot 2019-02-21 at 2 34 06 pm](https://user-images.githubusercontent.com/863730/53148554-012d3180-35e6-11e9-8a94-62c5fb023d40.png)

{
#ifndef Q_OS_MAC
    
    if (!trayIcon)
        return;
    trayIcon->setContextMenu(trayIconMenu.get());
    connect(trayIcon, &QSystemTrayIcon::activated, this, &BitcoinGUI::trayIconActivated);
#else
    
    MacDockIconHandler *dockIconHandler = MacDockIconHandler::instance();
    connect(dockIconHandler, &MacDockIconHandler::dockIconClicked, this, &BitcoinGUI::macosDockIconActivated);
    trayIconMenu->setAsDockMenu();
#endif
    
#ifndef Q_OS_MAC
    
    trayIconMenu->addAction(toggleHideAction);
    trayIconMenu->addSeparator();
#endif
    if (enableWallet) {
        trayIconMenu->addAction(sendCoinsMenuAction);
        trayIconMenu->addAction(receiveCoinsMenuAction);
        trayIconMenu->addSeparator();
        trayIconMenu->addAction(signMessageAction);
        trayIconMenu->addAction(verifyMessageAction);