Here's an example that opens an image on the left. Click inside the dashed box.
Afterwards, you can click here to close the image.
For a full description of this behavior see the Open Documentation Page.