Got rid of the bug that was causing the details to open prematurely.