Make dialog key processing virtual