showing dialog with positions