waiting untill the button is displayed

I came across an issue as it's been described in
http://stackoverflow.com/questions/24127502/ladda-ui-is-not-working-in-bootstrap-modal

I tried that solution and it worked for me.