Adjust to Dialog move