Applied changes necessary for new trial standard variable selection popup to the other directive that shows the popup

Post commit code review : Cyrus Venn Casada