Replace dialog positioning with floating-ui