Using non deprecated position for dialogs. Related to #16.