I wanted to go this way at first but the form gets shown/hidden by javascript on resource type selectbox change. So we need it to be present.