prevent default when using preset texts