Making it easier to use custom dialog later