fix transaction details and adding of staff dialog box