add disable/enable state button on popup