Add image orientation to the edit dialog, currently only working on firefox