update modal style and appearance changed