Burnley have agreed to sign goalkeeper Alex Cisak from Oldham, with the deal set to be confirmed on 25 June.