better modal dialog css, image_tag onerror fallback for avatars