refactored image modal styles, added variables