Edit criteria sidebar clickable + changes template