onPageRightClick()
This function is called after clicking with right mouse button in window with page preview.