Refactor GrabKeyFXDialog