Changing new/edit dialog view after select protocol type