Well, I tried using the panel, but couldn't get the fullscreen image with 5% margin.
Tried setting 'fullscreen: true' for both img and panel - didn't work.
Tried defining the height and the width using percentage CSS (height: '90%', width: '90%') - didn't work

Attached below is the view code with a screenshot of the outcome. (it is not fullscreen...)
What am I doing wrong?

Another thing- is there a built-in feature of adding an 'X' (delete) button at the top corner of the panel?