Dialog page cannot be rendered successfully

I’m trying to navigate to page on my application on page load with this code below

apex.navigation.dialog(‘f?p=110:25’, {
title: “Interactive Report”,
modal: true,
width: 800,
height: 600
});

But I’m getting Application 110 Dialog page 25 cannot be rendered successfully. Ensure the page template in use on page 25 is of template type “Dialog page”, with appropriate JavaScript dialog initialization, dialog closure and dialog cancel code defined. what could be the possible solutions to it?