The structure is grammatically correct, but stilted and rather awkward. which is often stilted and awkward. A more felicitous rendering would be 'when' or 'after': After the user selects the snooze software button, the alarm window is closed.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.