refacted report view for better event wiring and improved reusability of button locking/display toggling.
bugfix: corrected input processing in delete() action.
wired up delete report button.