broken down the addMenuItem(), added askTotalPlayerr() to pop up the
dialog