fix modal bug in user main