complete rotation dialog and cleanup