move modal to hardware accellerated