IE10 modal fixes