Why can´t I refresh current view in v5?

How to refresh a page in a view in V5?
Im opening a popup PhotoBrowser (from page1.html) and in that popup I click on a button to delete an image, and when I do, I want to refresh the page underneat(page1.html) that opened the PhotoBrowser.

I have tested everyting I can think of but it still wont refresh the page?

$$(document).on(‘click’, ‘.deleteimage’, function (e) {

var view = app.views.current;
	console.log('view.name '+view.name) //here I get the right one -  "mainView"
  view.router.refreshPage({ignoreCache: true, reloadCurrent:true, force:true})


Any help reeeeeeeeeeeally appreciated, thanks.