feat(dialog): allow opening from clicked button's location