add a cleanup callback to the prompt interface. when the prompt's callback returns...