Added graying out of text boxes and buttons when no layout is selected.