Change modal attributes