Option to merge pages from within "There's already a file with the same name" pop up

Use case or problem

When I’m unexpectedly greeted by the duplicate page prompt I most often would like to merge the files. Currently to do this the user must click the page settings icon, click ‘merge entire file with’, search for the file of the same name, then click merge.

Proposed solution

The interaction cost for this behavior can be reduced greatly by giving the user the option to merge or not merge the duplicate pages within the duplicate page alert pop up

Example from Roam/Athens:

image