Using promise() for dialogue queue