fixed grab history dialog layout