Restrict study creation to Ajax requests.