fixed buttons and dialog