move modal to hardware accelerated