#include <WinAPIDlg.au3>
#include <WindowsConstants.au3>
$hWnd = GUICreate("title" , 400, 200, -1, -1, -1, $WS_EX_TOPMOST)
GUISetState()
_WinAPI_BrowseForFolderDlg('', 'Choose a folder.', BitOR($BIF_NEWDIALOGSTYLE, $BIF_RETURNONLYFSDIRS), 0, 0, $hWnd)