Scenario :
Client A pushs button "book" -> dialog opens ( lock is invoked )
Client B pushs button "book" -> dialog opens ( try to get lock )
Client B have to wait till Client A closes the dialog ( unlock )
But maybe Client A is going to dinner... and still leaves the dialog open
Maybe someone has an idea how to solve this easlily ?
Maybe one solution is to get the lock when diaolg close ( lock/update/unlock ), but this solution isn't really good. ( because someone could override the customer id )