small changes to modal