update modal style and animation