Fix two singlebuttons used for OK/cancel