application: only prevent the default in internal links