add support for ok/cancel controls and tabindex