changed opening modal