Lol @ the use of aliases for the dialog XD
Just use:
ON *:dialog:Ping:init:*:
Edit; you may also want to NOT use /ping as an alias (it already has a ctcp function)