Added the ability to open modally in desired view controller passed as argument.