exit after ajax call for prio switch