Added check of instance id in terminate instance modal