Add function editor toggle button, edit buttons when modal function editor enabled