fix modal bug by e8cc7f7