Fix bugs in resource view, checkin->registration dialog