fix(modal): fixed error