added buttons to editor