flagrate.Modal: added #getButtonByKey(), #getButtons()
flagrate.Buttons#getButtonByKey: fixed a bug