Steps to reproduce:
create a new patient record
enter some data, don't save
click on "Create > New patient" from the upper menu bar
notice the prompt to "stay on page or leave page"
select "stay on page"
save the record
click again on "Create > New patient", nothing happens