fix behaviour on actions buttons when a document is checkout by other