Added ability to configure button keys using a popup dialog