Some refactoring on modal, to improve readability and generic functionality
Some refactoring on modal, to improve readability and generic functionality

inway/bootstrap,coliff/bootstrap,twbs/bootstrap,inway/bootstrap,m5o/bootstrap,tjkohli/bootstrap,m5o/bootstrap,tjkohli/bootstrap,twbs/bootstrap,inway/bootstrap,coliff/bootstrap