Remove doing label when comment and close issue

When I use the "save comment and close" button I expected the doing-label to be removed, as the issue can't be closed with label "doing". Or is this behavior intended?

Assignee Loading
Time tracking Loading