[client][servers] Add callback function for server edit buttons