fix(modal) demo js bug fix