- Fixed closing ticket
- Added permission checking for showing the close ticket button