fix popup form not showing problem
add email functions