changed the form template and the layout for adding callbacks