Preparing for creating Dialog