Remove Ok, Cancel blocks in the edit dialog box