Zend certified PHP/Magento developer

Why is posted data lost when resubmitting Magento 2 Admin form?

Let’s say I’m debugging an custom Admin form and in my save controller I print out the data:

print_r($this->getRequest()->getPostValue());
exit;

On the first submit this works fine and the posted data is displayed. If I refresh the page though, the posted data is not submitted and the page is redirected to the Admin Dashboard.

Why is this? Where in the core code does this happen. I want to disable it temporarily while debugging an image upload issue.

I have tried setting the form key to always validate by force returning true, but this wasn’t it.