I came across a question earlier which I thought was fairly straightforward. I gave my answer and soon OP commented on it saying its good but requires a certain modification. After editing my answer to fit the new spec, OP promptly decided to delete the question.
Safe to say I am not very happy about this. What is the correct course of action here?