Need help with Ajax requests with Kirby

This depends. Do you want to close the slide-on panel before you load new content?