modal: renamed show to visible attribute, added transtion