Moved the form close element to the right place.