fix on/perms dialog when using gestures/chat
ignore generated html for github markdown preview