convert plugin to use new dialogIn() - rotating image