Fix mobile rotate image.
removed client side dialog since it's no longer used.
Merge pull request #263 from tobyk100/fix-rotate-mobile

Fix mobile rotate image.