fix InlineImageViewer example extension

and separate the filename and close button.