I'm testing a simple ajax modal link on a Drupal site and figured out that the modal
<a class="use-ajax" data-dialog-type="modal" href="/search/node">Search</a>
does only show when logged in as admin. For authenticated users it does not load (it just shows the search page). This is independent of the underlying theme I am using (bartik or a bootstrap subtheme). No error messages or status-reports give any indication what's going on. I thought only for anonymous users ajax needs to be added for the theme dependencies ? What am I missing here ?