Loading controls and buttons in a Dialog view