preparing editor button for form selection