SWC-856 Modify the handling of buttons for wiki's image editor