Create showAlert to use native alert if available