Add option to prevent default browser behavior