The premise of this Meta question is wrong.
The main question being asked about is close-worthy, but not because of a lack of code. In fact, code often actively makes "how-to" questions worse. A question needs to be about fixing (with a proper understanding) a specific problem in the code or about accomplishing some specific goal, not both.
Instead, the problem here is the lack of a) a clear specification and b) an identification of a specific problem. It is a work order; the problem there isn't "OP is lazy and hasn't tried to take any of the steps involved in completing the task" - the problem is "there are steps involved in completing the task, and a question needs to be about a step, not the whole task". The question also needs to be clear about input and output for that step: "a UI like the image" is far too vague. In what way should it be "like" the image? Under what conditions does it appear? What interactions, if any, need to be supported?
Because of these issues, the question should have been closed as "Too Broad" (in 2014 when this Meta question was originally posted; "Needs More Focus" today).
Remember that Stack Overflow questions are not about the person who asks, but about the problem. It's perfectly valid to ask a question while knowing exactly how to answer; it's perfectly valid to ask while not actually having any interest in the answer; it's perfectly valid to ask when an answer would mislead you. As long as the question meets standards, there's a high probability that someone needs the answer; and from Stack Overflow's perspective, it doesn't matter whether OP is included in "someone".