Changed logic to show the form after submission when No in Directory is selected