fixes ok button visibility