disable tab key on x button