Fixed IE bug on modal boxes