Cleaning dialog trigger to be reused by other objects