It would appear HAMRS needs to trap mouse button 4. When on an entry screen if I press mouse button 4 (usually for browser back) HAMRS goes from the log entry screen to a blank screen. This is on Windows 10, Razer Basilisk V2 mouse. From there I need to click on Logbooks up above and re-select the log file. Anything that was in the log entry window at the time mouse button 4 was pressed is gone, however, items previously saved in the log appear intact. Mouse button 5 (typically browser forward) does not appear to have any adverse effects. It appears to function as a left click where it simply selects the item under the pointer.
So from this screen:
I hit mouse button 4 and get this screen: