The "Mark as out of scope" click within the header is present because there are actually two places on the screen where a link/button is called "Mark as out of scope", see `app/views/needs/_need_header.html.erb`: one is in the header (along with edit and history) and the other is in the modal dropdown that appears when JavaScript is turned on…

The second "Mark as out of scope" click is for the /out-of-scope page to verify that you really want to do the action. This is the non JavaScript version of using a modal dropdown to do the same task.

Previously there was only one click but that took advantage of the fact that the modal dropdown html was in the DOM (even though it's not displayed).