Add close/reopen button (from Redmine source)