assign id to modal and call modal by id instead of class