WIP: sorting out issue where lease details are hidden if there is an error on hte form