Dialog windows open conditionally

Because it isn't clear where the table should go.