Debug custom dialog