Frappe throw in payment entry needs to be reload to go back to document

When using frappe throw before_workflow_action the message display but after you exit the message you can’t touch the document It needs to be reload.