fix modal bug, forget hide in class