fixing modal
fixed modal not showing up
fixed image rotation