added option to open image in another buffer