I just found this post, you can use anki "" --no-sandbox to get rid of the dialog.
anki "" --no-sandbox