delete-button: API function, start of generic class for sending/handling non-upload ajax reqs