show ticket in dialogbox