updated modal display issue and styling