Removing not necessary dialog parts