if(UBApplication::mainWindow->yesNoQuestion(QObject::tr("Remove Page"),QObject::tr("Are you sure you want to remove 1 page from the selected document '%0'?").arg(UBApplication::documentController->selectedDocument()->metaData(UBSettings::documentName).toString()))){
if(UBApplication::mainWindow->yesNoQuestion(QObject::tr("Remove Page"),QObject::tr("Are you sure you want to remove 1 page from the selected document '%0'?").arg(proxy()->metaData(UBSettings::documentName).toString()))){