* Electron Version: latest
* Operating System (Platform and Version): mac
* Last known working Electron version: n/a

**Expected Behavior**
When the tray icon menu is popped up manually (but on a tray click event callback), I expect the menu to open up but not necessarily block the main process.

**Actual behavior**
It blocks the main process until the menu is closed. This is creating issues with other timers etc that I have running on the main process.



shell/browser/ui/atom_menu_model.h
virtual void OnMenuWillShow() {}
    
    virtual void OnMenuWillClose() {}
  };
  explicit AtomMenuModel(Delegate* delegate);
  ~AtomMenuModel() override;
  void AddObserver(Observer* obs) { observers_.AddObserver(obs); }
  void RemoveObserver(Observer* obs) { observers_.RemoveObserver(obs); }
  void SetRole(int index, const base::string16& role);
  base::string16 GetRoleAt(int index);
  bool GetAcceleratorAtWithParams(int index,
                                  bool use_default_accelerator,
                                  ui::Accelerator* accelerator) const;
  bool ShouldRegisterAcceleratorAt(int index) const;
  bool WorksWhenHiddenAt(int index) const;
  
  void MenuWillClose() override;
  void MenuWillShow() override;
  using SimpleMenuModel::GetSubmenuModelAt;
  AtomMenuModel* GetSubmenuModelAt(int index);
 private:
  Delegate* delegate_;  
  std::map<int, base::string16> roles_;  
  base::ObserverList<Observer> observers_;
  DISALLOW_COPY_AND_ASSIGN(AtomMenuModel);
};
}  
#endif