The goal is to not have the edit place the question into the reopen queue. The question gets one free entry-by-edit into the reopen queue. In general, such entry-by-edit should be reserved for edits which make the question on-topic/able to be reopened. While it's possible that an edit by a 3rd party will make the question on-topic, it's much more likely that this can only be done with an edit by the OP, commonly a substantial edit.
If there's no suggested edit: Close then Edit
It's preferable to close, then edit, because:
- Edits made by users who have voted to close, or flagged the question, do not place the question into the reopen queue.
- If you are editing the question prior to voting to close, then it's possible the question will be closed prior to you completing the edit. If that happens, once you save your version, the question will be placed in the reopen queue. If you vote-to-close first, your edit will not put the question into the reopen queue.
If the question is already closed, raise and retract a spam or R/A flag, then edit
If you want to edit and the question is already closed, you can prevent your edit from pushing the question into the reopen queue by raising and retracting a spam or rude/abusive flag. Custom mod-flags (i.e. "in need of moderator intervention" flags) don't count for this and you can't raise a VLQ flag after the question is closed, so spam or rude/abusive are your only options after the question is cosed.
You can raise and retract the flag either prior to your edit or after your edit. Doing it prior to your edit will eliminate any concerns about raising and retracting the flag between the time you save your edit and when the script runs that moves the question into the reopen queue.
If you are reviewing a suggested edit:
We want to prevent the suggested edit from putting the question into the reopen queue. We can't know if the user who made the suggested edit also flagged the question. We have to assume that they didn't flag the question. Thus, if their edit is applied after the question is closed, it will result in the question being placed in the reopen queue.
If you are going to reject the edit:
- Review the edit and select "Reject". Hopefully, someone else has already done the same, and you're done dealing with the suggested edit.
- Vote to close.
- Assuming #1 didn't handle the suggested edit, force the edit rejection by forcing your own edit. If you skipped #1, you can "Reject and Edit" at this point.
This prevents the edit from being approved. Your edit, which forces the rejection, won't put the edit in the reopen queue. The initial rejection allows other reviewers to see that someone rejected it, and a possible reason why they should also do so. Having the reject review prior to your edit is a good thing if your edit is going to take some time. If your edit is going to take some time, you should consider making a small quick edit to clear the suggested edit and then spending the longer time on a subsequent edit.
If you are going to approve the edit
- Select "Improve Edit", change whatever else is needed (finding something, if necessary) and save your edit.
- Vote to close.
There's a brief period of time, while you're editing the question, where someone else might close the question (assuming, as stated in this question, that there are already 4 close-votes). If you're going to approve the edit there's not much that can be done about that. If you are going to make substantial changes in your own edit, then you should consider making two edits, one prior to voting-to-close, and one after. The first can make a minor change, causing the approval of the suggested edit. You subsequent edit can then take as long as you desire without the concern of having the question closed while you're editing.