Get the edit buttons to work with the single modal