Quite often I spend a lot of time and effort to put together an answer to possibly not-so-robust questions (lacking details or an unclear question) only to be closed before I can submit. It is extememely frustrating because others have decided the question is beyond salvage or not worthy of answers when some of us are making an honest effort to help.
Overall I think the closing mechanism is used way too aggressively in this site as opposed to downvotes for not ideal questions. Maybe I am guilty too sometimes, looking at a question and thinking "well nobody could possibly answer this question as posed, or it is too trivial or it isn't a question, etc".
I would like to propose to put a lock on closing a question until answers have been submitted.
Maybe a 3day time limit before the closing happens, or if the server knowns when someone is typing (more than X number of characters) to flag the people voting to close that the question is being actively answered right now and postpone the voting process for after all the answers have been submitted.
I have resorted to submitting a placeholder answer, deleting it, authoring my answer, and then undeleting it. But this is an abuse of the system. And yes, answers have been accepted after closed and people have been helped if answers are submitted before the closing "axe" comes down.