Added modal variables.