Only erase the provided form if being treated as a message. Issue: #540