fix tips for generated elements
add mod functions to manageform
fix preview positioning