[#75943444] refactoring modal related CSS