added ok button to inputs