Add anonymous functionality to the modal